package com.phome.springmvc.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.phome.springmvc.dao.ILoginDao;
import com.phome.springmvc.service.ILoginService;
import com.phome.springmvc.vo.Student;
@Service("loginService")
public class LoginServiceImpl implements ILoginService{
	 @Resource(name = "loginDao")
	private ILoginDao loginDao;
	public int findStudent(Student student) {
		return loginDao.findStudent(student);
	}
	public ILoginDao getLoginDao() {
		return loginDao;
	}
	public void setLoginDao(ILoginDao loginDao) {
		this.loginDao = loginDao;
	}
	
}
